from django.conf.urls import url
from . import views

urlpatterns = [
    # 首页
    url(r'^$',views.index,name="myhome_index"),

    url(r'^goods/list/$',views.goodslist,name='myhome_list'),
    url(r'^goods/info/$',views.goodsinfo,name='myhome_info'),
    url(r'^login/$',views.login,name='myhome_login'),
    url(r'^loginout/$',views.loginout,name='myhome_loginout'),
    url(r'^register/$',views.register,name='myhome_register'),
    url(r'^checkregister/$',views.checkregister,name='myhome_checkregister'),
    
    # 购物车
    url(r'^cart/$',views.goodscart,name='myhome_cart'),
    url(r'^cartadd/$',views.goodscartadd,name='myhome_cartadd'),
    url(r'^cartre/$',views.goodscartre,name='myhome_cartre'),
    url(r'^cartdell/$',views.goodscartdell,name='myhome_cartdell'),


    # 订单
    url(r'^order/$',views.order,name='myhome_order'),
    url(r'^address/$',views.goodscitys,name='myhome_citys'),
    url(r'^saveadd/$',views.saveadd,name='myhome_saveadd'),
    url(r'^deladd/$',views.deladd,name='myhome_deladd'),
    # 提交订单 生成订单
    url(r'^orderinfo/$',views.orderinfo,name='myhome_orderinfo'),
    # 个人中心
    url(r'^person/$',views.person,name='myhome_person'),


    # 短信验证
    url(r'^sendmsg/$',views.sendmsg,name='myhome_sendmsg'),
  

]
